/**
 * 全局mixins对象, 在main.js中全局注入Vue
 * */

import Http from './http'
import Tools from './tools'
import methods from './methods'
import filters from './filters'
import Wx from './wx'
import Sign from './http/sign'

const mixins = {
  data() {
    return {
      Http,
      Tools,
      Sign,
      Wx,
    }
  },
  methods: {
    $err: Http.$err,
    ...methods,
  },
  filters: {
    ...filters,
  },
};

export default mixins